#ifndef _TELLTALE_MODEL_LOGIC_EPSMODEL_H_
#define _TELLTALE_MODEL_LOGIC_EPSMODEL_H_

#include "Common/HmiAdapterBase.h"

#ifdef __cplusplus
extern "C" {
#endif

typedef enum 
{
    State_Init = 0x00, 
    State_Selfcheck, 
    State_Off,
    State_On
} EpsState;

typedef enum {
    EV_Unknown = 0x00,
    EV_Off,
    EV_On,
} EpsEvent;

typedef struct EpsWorkingData
{
    uint32_t selfcheckCount;
    EpsEvent event;
    EpsState currentState;
    bool hasWidget;
} EpsWorkingData;

static EpsWorkingData EpsWorkingDataInstance;

typedef struct EpsModel
{
    ImeterModel model_;
} EpsModel;

extern EpsModel g_EpsModelInstance;

#ifdef __cplusplus
}
#endif

#endif